#ifndef BSP_INIT_H
#define BSP_INIT_H

#include "LPC17xx.h"
#include "lpc_types.h"
#include "lpc17xx_exti.h"
#include "lpc17xx_gpio.h"
#include "lpc17xx_i2c.h"
#include "lpc17xx_pinsel.h"
#include "lpc17xx_uart.h"
#include "lpc17xx_ssp.h"
#include  "ucos_ii.h"

void uart_init(LPC_UART_TypeDef *UARTx,uint32_t baudrate);
void ssp_init(LPC_SSP_TypeDef *SSPx,uint32_t clockRate);
void i2c_init(LPC_I2C_TypeDef *I2Cx, uint32_t clockrate);
void gpio_init(void);
void exint_init(void);
void led_tick0(uint8_t sat);
void led_tick1(uint8_t sat);
#endif